﻿using AutoMapper;
using Hicap.AuthorizationServer.Core.Models.Sys;

namespace Hicap.AuthorizationServer.Sys.DTO.UserRoleRelateds.LTMAutoMapper
{
    /// <summary>
    /// 配置UserRoleRelated的AutoMapper
    /// </summary>
    internal static class CustomerUserRoleRelatedMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            //    configuration.CreateMap <UserRoleRelated, UserRoleRelatedDto>();
            configuration.CreateMap<UserRoleRelated, UserRoleRelatedListDto>();
            configuration.CreateMap<UserRoleRelatedEditDto, UserRoleRelated>();
            configuration.CreateMap<UserRoleRelatedListDto, UserRoleRelatedEditDto>();
            configuration.CreateMap<UserRoleRelatedEditDto, UserRoleRelatedListDto>();
            // configuration.CreateMap<CreateUserRoleRelatedInput, UserRoleRelated>();
            //        configuration.CreateMap<UserRoleRelated, GetUserRoleRelatedForEditOutput>();
        }
    }
}